Added support for nested path declarations through routes as well