Restore docstrings

Implements fix suggested by @warner in #90.