Make possible to specify scheme for with_scheme