simplify code using plasma_{feature,stdtypes}.h