Don't make MetadataFactory final

It may be useful to extend it (cf my use case on other issue).