Reviewed c-extensions/Statemachines