Fix typo in commment tyep->type.