Added structure to get attributes from BaseObjects