Minor updates to I2C API