Removed implicit trans.
Added to-db.
Added events.