Remove Unused code from preinit