Updating the second signature for .trigger to include the optional extraParameters. Fixes #259