Add icon support to the generator.