Adding db handler.