Use bind() instead of the deprecated bind_function()