Added Attribute Functionality.