Adds  method to deployments