Proper memory (dealloc) fix.