Remove extraneous attribute settings