Made internal C++ functions hidden. Closes #14.