Implemented object_ref()