Refactored repeated node calls.