Fixed.  I added the Program.program_type and Program.program_instance properties which basically mimic the older Program.anchor.parent.name and Program.anchor.name.  There may be a few references left elsewhere in the code that can be replaced.