Refined the database maintainance interface.