Avoid case class inheritance as `ChannelSettings` is extended by `PersistentChannelSettings`