Cleaning up attributes.