removed unused attributes.