Extension of PHP's Dom