Removing unneeded options.