added a hook to manage icons.