This could just use `setWithObject:`.