[na] finalize the repository classes