Improved documentation (fixes #7)