Replaced by new C++ implementation.