I get an error stating that getValueCartesian is not defined on ConstantPositionProperty, do I keep the prototype functions or replace the places where I call those functions with the code itself?