Rename addIcon to addGraphics.