Moving to attribute and introducing a RouteResolverInterface