Add a 'deleteModule' method to the Linker class.