Minor fix to prevent crashes with unusual interface-less types