Bind the function.