Fixed std::function nullptr.