Base database work.