Do not register class using ConfigurationSerialization; it seems to work
without.