Implementations of GPIO class