Do we need two times the same typedef (compare ParticleAttribute) could this be done in a common place?