Removing unused routes() logic