Add function.bind shim for tests.