[sr-dev] git:sr_3.0: Backport of the changes (see previous commits).