Get rid of deprecated trigger() methods.