Fixed a typo brought up by Jesse Becker where I had put NumPorts when it should have been Ports when referencing a Device object.