Replace hook menu with routing file.