Added documentation to parser function.