Use dm from the container instead of via $this->db which causes
exception.