Hooks used in deployment.