Better error checking.
Avoid uint
0 is an invalid Devnum
More closely match underlying API (for now).
Add simple test case.
Begin documenting.