Added database interfaces