Optimize cookies object
Merge remote-tracking branch 'master/master'