Created the delegate property and connected to it.