Scope deprecation

Changed to passing in Proc objects