Pickle now loads cached samples correctly.