XXX: added scatter/gather APIs
XXX: removed types
XXX: removed compression