Added failure-detector as a dependency.

Closes #2.