Remove deprecated branch on the scope method.

The deprecation message was removed on 50cbc03d18c5984347965a94027879623fc44cce but the code was not.