Make methods in BaseRepository virtual