Resurrecting Lennart Augustsson's implementation of Cayenne