Fix LookupMethod bug