Db improvements.