Added a bit of performance for deriving the type's methods from global cache.