Route lookup by path. Closes #2220