Added dealloc method