Modified trigger class.