Simplified memory management