Making various classes seriablizable