EntityDef functions must include a run type.