notifications API fully defined (I think)