Cleanup deprecated deposits and withdraws related codes.