Fix getSymbolType
Merge pull request #7 from Frege/dev/refactor

Fix getSymbolType