Added CreateOperationContext checks.