Added vector conversion methods.