Remove unused function attributes.