Add method to synchronize after removeObjectForKey