[FIX] Removes unused header from CMakeLists.txt.
[FIX] Fixes some minor issues in jst traversal and removes unused code.