Separated class data generation is a specific factory, to avoid cache
issues and offer a way to customize it properly