Delegate initializations fixed. Switched to generic delegate types.