removed generating getProvider() method
GeneratedFactory implements Provider