Fixed dealloc calls.