Changed DomEl to issue an error when an invalid method is called instead of eating it