Added a Guard helper class.