Added cookies check.