Fork of gami (code.google.com/p/gami/)