Export function so nova code can use it.