subscribeToCommand(...) not supported?

[app:216] 2018-05-20 05:45:57.005:errorNo signature of method: app1526820301097924205997.subscribeToCommand() is applicable for argument types: (com.hubitat.app.ChildDeviceWrapper, java.lang.String, java.lang.String) values: [device, command, method] on line 2316