Added hook so you can perform custom processing once the HTML document is parsed.