This will be changed in the feature/exploit branch I'm currently working on to use the target.  You can ignore this weirdness since it will disappear in the next PR.  As for this change, mod was a just a method that called driver.metasploit_instance, so it's just an inline refactor in this PR.