Updated to support new guard plugin syntax

Fixes #10