Removed deprication warning form scope_schema #connection by adding self.class. to connection