Add serializable interface to RageThread and RageJob