Adding a full function type to call or invoke now works correctly.