Start with C API accessors and tests