Added tree hierarchy support to navigation.