Add delegate types for Sink and Source.
Merge pull request #43 from square/jw/delegate

Add delegate types for Sink and Source.