Pickling an Element object works correctly