Adding support for handlers on routes