% if (is_constructor) { %>
<% _.each(fields, function(item) { %>
class="addon"<% } %> ><%=item.name%>: <%= item.description %>
<% }); %>
<% _.each(methods, function(item) { %>
class="addon"<% } %>><%=item.name%><% if (item.itemtype === 'method') { %>()<%}%>: <%= item.description %>
<% }); %>