Better handling and documentation for delete buffer.