Added a delegate to the Endpoint that makes it possible to subscribe to endpoint actions