Adds minor documentation and test improvements.