can we put the `[T, K, V]` types here to better document? I don't think this method needs to have Any everywhere and can at least be type safe inside, right?