Updated Gpio and GpioInterrupt class.