Add functions/types for XPath support.

This should be in a different commit.