Add documentation for Parser class