This is a bit more comfortable than passing the shared buffer ID manually everywhere and keeping track of size etc.