Introducing readResolve() and enum-based patterns for serializable Singleton objects.