Perhaps consider using `reflect.Kind` types here.