adding hooks to define factory providerTypes