Modified enums.rb to make modules instead of just decls