Generalize hands DIO variables, and add a method to reassign them in the derived classes.