Fix security to work without self.