Function extraction now returns Function objects.