Fix Guard inheritance

Fixes a huge deprecation warning that inheriting from `Guard::Guard` was deprecated in Guard 2.0.