removing class redundancy from the model when reading the instance