Allow effect inputs to be defined later, in definition function