Make MultiClass::DefPrototypes own their Records to fix memory leaks.