Remove annotations to make CI happy
I must have been a little quick in merging #26802 as it looks like this is causing mypy failures in CI.

Most of these are pretty niche and I think a result of import machinery. Will try to dive deeper later but this should get things green for now