Added delete types to Parser.java