Adding Input derivations to factories