Added output caching to the control.