Remove all state from the database abstraction.