Replace element kinds per concrete class