Cookie exception restructure