Add log messages
Rename _wrap to _makeCallback