Encapsulator

fun <T : Any> Encapsulator(klass: KClass<T>, serializer: <Error class: unknown class><T>)