Write proper docs (resolves issue #4)