Removes nil on dealloc.