value methods for wrapper classes
check cast instruction

Still no exceptions so this isn't great, but it gets the job done.
Always debug when testing
Peripherals

Should be easy enough to subclass Peripheral for the various different
types, declaring instance methods that call the Peripheral.call
instance method.