Support code for the book TMM (cannot disclose title yet)