Use PickleSerializer for session.