Add mask for i2c events. Reformat.