The current Typescript types do not allow a `Buffer` key argument, even though that's what the example show in the docs. Thanks!