Update dependencies. Add more documentation.