Added Encodable and Decodable for Arc<T>.