function register (pool) {
  return function (mw) {
    var hook = 'in'
    var handler = mw.handler