A variety of fixes to get Monarch to compile, plus a record interface struct.