Reorganise repository.