Allow pickling in sandbox.