Use SmallVectorImpl instead of SmallVector at the uses.