Corrected misplaced docstrings (found by eastwood).
Corrected misplaced type hint (caught by eastwood).
Merge pull request #37 from fmjrey/eastwood

Corrected misplaced docstrings and type hints (found by eastwood).