Cleanup option setting.