Updated ECode setter class