Made things compile in SEMANTIC_SERIALIZER_CHECK mode.