Clean up unnecessary options.