Adds specialization for wraping std::function object