Make base repository to be parent class