Adding flyweight templates and removing other templates.