Get rid of class_lookup method.