The functions to work with vectors.