Added 'cookies' object into config. Added few returns.