Added TC_APP_NAME_LEGACY constant.