Get rid of scoped enum for distribution type, make it a regular enum instead.