Change constructor type hinting to BaseRepository