Delete redundant entity classes