Set buffer allocator methods to static + Deallocate out buffers.