Make Entry encodable.