Changed the API for icon