Adjust the Trigger class so that it is a part of g.