Added javadoc to parser methods