Improve documentation of functions in README.