getDevice() for a Programmer objec