Continued work on TWI library.