Coverage from C++
Fix module C-API declaration