Refactored to use more generic bindMethod() function.

Because more refactorings are... more.