Add functions/types for XPath support.

Oh OK.