Added verification methods on the script api.