Moved ConditionalDecorator into utils.