[+1] fix Issue 7802 - UFCS functions get lost when type is transmitted to template