Use double vectors for Number class, and generic vectors for Object.