Much better, no more hack to convert a std::function to a function pointer