Simplified database access by changing the return types.