set up the icon rendering callbacks to work