Start of new database interface.