Consider removing the factory as `Container` is `AnyVal`.