/** Add to the scene a standard set of transformations that are useful
* for optimizing efficiency.
* @param toplevel The composite actor we are generating code for.
*/
public static void addStandardTransforms(CompositeActor toplevel) {
Pack pack = PackManager.v().getPack("wjtp");
// Set up a watch dog timer to exit after a certain amount of time.
// For example, to time out after 5 minutes, or 300000 ms:
// -p wjtp.watchDog time:30000
addTransform(pack, "wjtp.watchDog", WatchDogTimer.v(), "time:"