Helper: Function | { fn: Function; isScoped?: boolean; name: string }