Remove unused classes.
Refactor product type attributes.