Removed serializable cookie. Added some comments