#32: Fixed a problem introduced to templates recently
#26: Fixed a problem with non-mandatory namespace specification.  The rest of the fix is mixed in with #37.
#37: More work on MUIS models. Getting much closer.
#6: Integrated with the new models framework