io.buffers: cleanup interface a bit.