Added processSingleLevelNode and processMultiLevelNode methods.
Work in progress.