Cleaning up unsued attributes.