Adding named routes to the router class