Support reading of pins state.
Serious thing renaming!