Cleaning up unused attributes.