Draft bits of memsink.h.