Implemented named routing. Closes #12