Fixing bug in container context initialization.