AddToVector functional.