Added classes needed for syntax tree generation.
Fixed syntax tree retrieval.