public int RemoveInits <T>() where T : ActorInit { var removed = reference.RemoveAll <T>(); GeneratePreviews(); return(removed); }