typeName parameter added in Token class.