Improved method lookup enough to support generics