Added methods to support or remove support for drag and drop.