Fix bind not binding to the correct context.

This fixes issue #15, bind is not binding to the correct context.