Put docstring in the proper place.
Muck with reflection a bit.

We can't get rid of all of it, and some of the type hints that were
there weren't working, for reasons that are a mystery to me.