introduced conditional compiling to data classes