Fixed caching of ClassMetadata::methodMappings