- Added 'constraints' to the Deployment.add method, a dictionary { 'mem': "512M", ...} is required.