Make usable from outside and from C++.