Removed python random generator. Use java method instead.