Query production mode also when registering apropriate class loader