Convert the NodeHelpers trait to use self methods