Protect enum fields

Fixes https://github.com/prezi/spaghetti/issues/77