This should be changed to use the chainable `.then` api

```javascript
return this.doRequest(query).then(function(res){
     if ((createTopicResult = res.CreateTopicResult) != null) {
        return res.CreateTopicResult.TopicArc[0];
     } else {
        throw new Error("Error" + res);
     }
})
```