Add support for restricting routes to specific methods