Removes some unused templates