Master 45 feature type encoder attributes

This could also be backported  to 1.4.x I think