Remove dead code throwing SyntaxError in enum setters