Minor modifications to structured I/O api.