Improve and test the docs.