remove attribute declaration from mako, add class