Finished implementing support for var.  Now using
StandardLib.substitute().

Change-Id: I171325a2647b381164519a958a782540c876c372