Fix pickling for periodictable.