Marking the xpath lookup exception as deprecated.