$afdevice now holds an instance of afdevice class (used for TBS)