Fixing dealloc calls.