Cleaning sessionoptions even more.