Other places in the code use the DB.  We need to review this globally.  This will probably work for now, but should add a comment in the code and/or a ticket for further review.