adds Node and Heuristic classes