refactor(deferred-notifications): Improve template hierarchy and doc