avoid deprecated Guard::Guard inheritance