Improve documentation, closes #5.