Fixed a bug that prevented a delegate from being called, also added a new delegate method.