Fixed some function arguments

I'm putting the platform specific LwPump add / updateCallbacks functions
in 'extend' blocks. Hope it will work :)