Made changes to the GenericRepository