cleanup of vector support, and unified get/set