Update not to use old 2-arg createBuffer.