Need to use removeObjectForKey instead of assigning nil.