Implements scope validation.