First draft.

Fixes #71 

//cc @robdodson 

Sorry for the delay, this had somehow slipped from my todo list.
Will be doing that right away.