Currently this requires a code change.
I think this code change would be worth porting into the core product, so hopefully it wouldn’t be required in the future.