Handle when container is undefined.