fix: do not call set_lookup_class_and_name on plain objects as methods