Remove unproductive templates