I believe that's simply worked around by marking the class as extending Serializable.