Modifications in Recompute to facilitate use with Moolloy. Still
requires heavy refactoring.