      When the connection to the Speech to Text service is connected then set the state, start
      the queue, and reset the number of connection retries.
      */
-    func onConnect() {
+    func onConnectDelegate() {
         state = .Listening
         operations.suspended = false
         retries = 0

        reconnecting. If this error represents a successful disconnection, then it is ignored.
        Otherwise, the error is returned to the client through this instance's `failure` function.
     */
    func onDisconnect(error: NSError?) {
        state = .Disconnected
        operations.suspended = true
        if isAuthenticationFailure(error) {


     - parameter data: The data payload from Speech to Text.
     */
    func onDataDelegate(data: NSData) {
        return
    }

