This adds support for conditional output.