Moved pickles code to src/