Extend usage of db.