Added callback support for io, and onStarted