Adds mechanism for Passing parameters to subcomponents.
Allows constructor to specify alternate class to use for creating subcomponent.