Refactor DeploymentOperation