Not returning TM_ECODE_OK or TM_ECODE_FAILED here for a reason?