If we don't call to preInit method why do we need to add the class name providerPage? Maybe you should move it inside if statement thought