Using Manifest to construct generic method of MyConfigFactory