Adds a prepareValuesForOutput() method to all components.