Handle :slim and :full dist types.