Added unique_function