Change type of object in OFThread to id.