Remove unnecessary Attributes