Fixed possible parser exception.
Implemented first version of the symbol collector.