I2C fixes and documentation