Enhanced DatabaseHelper.