Added object construction/destruction functions that use custom allocators. LinearAllocator.reset() now resets the _total_allocated property.