Use variable() in by_group() split specifications
Small example cleanups