Add support for include_in_root/parent when using attributes