pyramid_root_factory_function