Ignore unused parameters in trap functions.