Setup guard.