Replaced deleted/warned buffers by callbacks. Added doc.