Fix an enum with a duplicate value in it.
Remove a case of two overloads providing default arguments.

I'm not really sure what the intended case for this is - or how it
worked to begin with, but @Shadowfiend may be interested in this commit.