A finite state machine composition library.