Add random-state and readtable data structures.