Fixed unavailable dependency: randomgenerator must be available before loading ServiceProviders #772