Added the ability to delete an instance of a submodule.