Remove un-needed options from config.