Added config-ref attribute on flow elements