Proper deallocation.