BaseUnit and BaseRepository functional