feat(FDLGEN): Add controls on FDLGEN class generation (closes #4930)