Code cleanup, removed duplicate delegate declaration