Added explicit type conversion to the name analysis