D&D is not shifting away from class restrictions (and thank God for that!). If you don't have (distinct) classes, you don't have D&D.