Added allocation of new GF to ENSURE-GENERIC-FUNCTION in phase 3.