Moved up sync message parsing