Add several functions from <algorithm>