Hack to ignore assert for polymorphic types