private function releaseImpl(/*string*/ $id, /*int*/ $priority = -1) {
    if(-1 === $priority) {
      $priority = $this->priorities[$id];
    }
    unset($this->priorities[$id]);
    unset($this->callbacks[$priority][$id]);
  }