Get rid of the attempt to handle unknown enum values.

It's horribly broken. Another attempt will follow soon.