make some fields in RandomProvider public
optimize imports, rename ignored exceptions