Adds setcookie() command on cookie class.