Fixed creation of endpoint notifies.