Set occlusion max distance in skylight.

There is no function to set occlusion max distance on sky light, there is only get occlusion max distance function.
Is this intentional for some reason?

This is the only way to turn on/off distance field ambient occlusion when using skylight.
Btw, post process ambient occlusion settings have no effect on sky light ambient occlusion.
If there is another way to turn on/off distance field ambient occlusion (other then this 2 ways), please let me know.
Thanks.