Added support for deployments.