Maybe the content of the method could be moved into Deployments class?