Class model and generated classes