Changed toSend type

Fixes plugin; now possible to use