Minor additions to vector functionality