Making some attributes and methods of parser.py private.