Removed memoized overloads for std::function; the case is handle by the generic call.