added lookup_class and lookup_hint methods to support param class instance checking