Inject classes on a metadata service.