Remove obsolete cookie loading.
Add more type validation functions.
Build out data classes and enumerate validation.