Added db-t.
Added indexes.
Added event/entity ref.