Moving template formatting into the helper classes.