CLOUDIFY-1471 Fixed references to deprecated method