Added getSetAttributes method to attribute helper