Made `.x-ray-show` and `.x-ray-hide` optional.