Add vertex array functionality