Added AhVec method and test.