Moving box to an IoC.