No longer requires elements to check, instead it will check the parent element for the result.
Removed DOMDocument, no longer needed, InvoicesDocument no longer needs to set elements to check, and just extends \DOMDocument