Allow to override the class name resolver for the default page object factory.