New implementation of the Guard class.