Use ContainerInterface instead of Container