Added extern "C" blocks.