def _delay(self, ms):
        """Implement default delay mechanism.
        """
        if ms:
            self.Delay(ms)
        else:
            if self.default_delay:
                self.Delay(self.default_delay)