I would consider putting this in a service that would be mapped via the router. That way route handlers can get the service injected easily and not have to get a reference to *ClassicMartini. this also makes sense because named routes are directly tied to the router anyway