Restructured interaction between app and container.