Gracefully fail on pickling