Fix constness
Add a C API