Improves the bind function, allowing to pass the callback as the last argument