Modify internals to prep for typed-docstrings.