Make Sparkwave IR use case code also work with previous use cases and patterns.