Modify option attributes.