Generating classes for model changes