Added method to get root attributes of attribute model