Add struct for DecodeScriptResult.