Add support for Node contains.