Moved a section of docs from functions.go to README.