Remove superflous vec function