Add reset to parser class