Swapped object_index() with get_object_index() and made it a property_ro