Added RandomState argument.