Commit of the code which I wrote some time in 2013.