Added methods to Parser