Add wrapper for xpath() that always returns an array