Replaced delegate with on.