Move Trash utils from record into buffer.