Complete the gpio plugin draft.