Fix typo when setting delegate

I made a boneheaded mistake in #242.  My apologies.