Adding extra check to make sure icon method exists