Implement triggers.