backwards support for params.scheme