remove unused factory
make FromConfiguration public