Hee... I started implementing a lot of the xpath functions before finally realizing I only needed to expose two of them.