add generic repositories