StateBuilderFactory did not generify transition factory

Fixes #45 

Hopefully once and for all...