Now with code and some comments in the README.