Prepare for deployment.