Add type-information to the List variables, also fix the typo in the comment.