Added support for nested path declarations.