Remove style from mako and rename classes