Allow pickling of QuerySets.