Notes on underscore loops, other cleanup