Fixed the need for Microsoft's scoped enum extension.