StateBuilderFactory did not generify transition factory

Fixes #45