Add support for translation unit reparsing
Allow disposal of diagnostics