Use propertyAccess when calling magic methods in node.js