Fix for Daniel's bug + DOMPlugin API updated

New method 'containedBy'.

@nealstewart