lookup_method function. Added an exception for that.