Add autogenerate class