Pretty sure this line should raise an exception, as `scope` doesn't appear to be defined.