Ensure that @scope and @provides interact correctly.