The CascadingStyle class was just made public as part of JEP 253, but it has been deemed to be unnecessary and can be made an implementation detail with only minor changes to the code around it. This has already been reviewed and approved internally, so I will soon go ahead and push the fix for this.