Add PHPDOM support