Made ExtensionMetadataFactory fields altered from private to protected.