Fixed example for Db class.