This is stale from 200910ish.
I need to either code up a proper library abstraction for Piny or find someone who will. The latter is tempting.
Jules seems to have done a satisfactory job on this.