Adding support for scope as a Proc