More methods to support dialer tests.