Changed Cors methods