Required classes extending types.Type to have a toBytecode() method, and

added variants of the getVar, setVar, argn, and setArgn methods in
run.RunningInstance that uses values from calling programs