Added callback to library.