Maybe a Nicer toEnum

What do you think?