MDL-41608 clean: introduce notification API