Add range to runtime get capture function.