Cloud uses deprecated methods

thingproperies.h:

generated method initProperties() uses

ArduinoCloud.addProperty(Name, READWRITE, ON_CHANGE, onNameChange);

which is deprecated and gives warnings when compiling