Added support for nested route declarations