Throw error if buffers are used