A contract for ioc-containers