Small changes to the "actions" sample plugin.