Change pickle protocol for more efficiency.