Database class for debugging.