Fixed self in get_path_for_object