Documented Ricotta's code more thoroughly before I forget to.