Seal the DynamicSerialization trait

We don't want to support third-party implementations.