Fixed forbidden symbols and class constructors detection