Control generation of empty constructor and properties.