Updated check for factories and helpers in CtkFactory, and template params in CtkNode