PEP 8 support in relevant public APIs and documentation

Fixes #58.