Fix issues with deployment.