Resolves Issue #129: Make Factory, ExpiryPolicy and Duration implementations Serializable