A simple extensible library for generic state machines.