Added flag to disable notification dispatching.