Added equals metamethod for Objects. Added better handling for Peripheral.