HACK to get past polymorphic constraint assertion