Adding support for conditional logic to manifest.