Added support for cookie parameters