Let's whitelist the method calls actually defined, not some outdated old names. (cherry picked from commit b66c8eba)