Redesigned the database API, breakage across the board!