Changed how Icons are registered.