Remove reference to dbfactory