Use generic Data<'T> type for deserialization of templates.