Support also rel classes if available in generic api gen