Add support for delete_buf.