Add BindTarget and UnbindTarget.

In response to issue #113.