Make account status type safe