` serializer: Class[_ <: Encoder[V]]` for type safety.