Revert cache code for notebook

See #29