Fixed getHiearchy() in TreeNode being reversed
Fixed more permission and access methods