dict methods for Attributes class added