Add a quit plugin.