migrated to pcreate templates from hand-written pyramid code.