Updated vault hook to use 1.3.1+ non-deprecated methods only.