Update function names, comments, and README.