Change name of AddObject's second parameter from "whitelist" to includedProperties.