Add support for nested attributes.