This looks suspicious. I'm not sure what using-direct-buffers does but do we want to always tie these to attribute values together?