Completed basic method implementations for database related operations.