Bug 1064669 - Move casting initialization to delayed startup. r=rnewman