Added new params for isDeclared() and getType() in symbol.h