Adding database backend.