Routing methods dsl refactored to get rid of explicit paths parameter

Fixes #791