Begin generalization of some of the input binding common components to reduce duplicated code [CL 2057796 by Marc Audy in Main branch]