Adding helpful xpath functions