CB-3032: Add whitelist support for custom schemes.