exports = (Scriptable) exportsObj;
} else {
throw new RuntimeException("Couldn't get exports for process in " + filename);
}
Object processObj = exports.get("process", exports);
MetaProcess process = null;
if (processObj instanceof Wrapper) {
process = (MetaProcess) ((Wrapper) processObj).unwrap();
} else {
throw new RuntimeException("Missing 'process' exports from " + filename);
}