Change ignored scheme blacklist to whitelist
Stricter string type checking