Build model classes with debug info