Added methods to check for duplicate entries into symbol table