There seems to be a lot of code here to manipulate an enum which only has one value.  What's it all for?