Added support for DB (#4).