Change error handling from using a channel to using a callback. Bump version.