Resolves #1670 by letting scope DSL accept a proc for lazy evaluation