Fixed link detection so it stores values in the correct order.
Refactored a bit so I could remove TraverseSymlinks.
Improved documentation.