Fixed interface spelling mismatches. Removed unneeded extern(C++) attributes.