Could not find symbol 'add' [ Epix ]

The following code works for all the older watches but on the EPIX, it spits out an error.

Error: Symbol Not Found Error

Details: Could not find symbol 'add'

class myClass
[
var aaa;
var bbb;
var ccc;
]

function myFunction(input) {

    var myClassData = new MyClass();
    myClassData.aaa = 1;
    myClassData.bbb = 2;
    myClassData.ccc = 3;
    
myClass.add(myClassData); // This Has an error
}

Also on the Epix, UserProfile.getHeartRateZone is not valid.

Per the documentation, it is supposed to be working.