Make method optional when matching a route