Renamed clear_dock to clear