Finished first API draft of TWI