Moved TE integration to preinit