Adding documentation to charter_parser.php