Add methods for using XPATH