Add more tx logging.
Organize imports.