Adapts plugin to the new Guard API