Add support for restoring function samplers for parameter ranges.