public function launch_after_restore_methods() {
        // Check if the after_restore method exists and launch it.
        $afterestore = 'after_restore_' . basename($this->connectionpoint->get_path());
        if (method_exists($this, $afterestore)) {
            $this->$afterestore();
        }
    }