Call add and delete hooks with the same parameters.