Add functions/types for XPath support.

And same here, obviously.