Make sure the routes are initialised before use