[REM]Remove misc code.