Add docs. Fixes #187