gi: don't handle MethodInfo as FunctionInfo