Add the `notify` method and use it in a similar way as in the collection.