Out with ye olde POM.
Use mode instance as ref key, not (shared) buffer.