Implemented missing XPath2 functions