CLSN-2167 make all repository classes internal