Use node methods instead of internal vars