All database functions now work properly.