Remove non-reserved attributes when setting "target".