Restructured for deployment.