Support explicit EndType in order to parse empty lists