#65 Refactor NodeProcessor to have useful methods.