Added anonymous scope function.