Put docstrings in proper place; Fixes #1