Deletes the previous module.