better lifecycle management in Kevoree generator