Improves 'Unwrapped functions' error reporting