Fix foodcritic warning about node access.