add: support for lookup_class