Add ability to enable and disable pipeline stages.