This is wasteful. We just add the same prefix every time so there's no need to clear it.