Change the allowed scheme method