The setup_attributes method now configures the 'attrs' AttrTree