Removed scope code that wasn't being used.