Use closure as replacement of deprecated LimitedScope