Clean up buffer usage.