Export function so nova code can use it.
Merge pull request #1103 from kacfengine/master

Export function so nova code can use it.