Changed bindMethod so it can be used to bind protected/private methods when called from inside methods.