Added methods for cookie & window related operations