Attempting to circumvent serialization problem with lazy instantiation