Why using a getter here and not in the `ContainerBuilder` ?