Routing with annotations