Added deleteCollection method.