Added method to delte a database.