Added flexibility to dropDatabase method.