Revert cache code for notebook

See #28