hack to make slicing ComplexModelBase children work.