Removed PT debug logging.
Removed unused use imports.
Fixed anonymous subnodes.
Added some comments to PT parser.