Remove old python mode.