Fix static call to getDB().