removed wrong references to old Parser.ST and got rid of type checking of the iterator in for-loops, since it can only be checked at run time