Fix conversion of highlight class and pinning.