Support conduit 1.0.

In conduit 1.0, some functions (e.g. sourceState) is removed.
So, we need some changes to work with conduit 1.0.

What do you think about these changes?