Refactor Routing::Mapper#matches?