protected function performAfterSave(callable $callback, $key = null)
    {
        if ($key) {
            $this->callbacksToRunAfterSave[$key] = $callback;
        } else {
            $this->callbacksToRunAfterSave[] = $callback;
        }
    }