Use mw.Api

Bug: 62956
Change-Id: I551664edd75f3af3f6bd4d9f65aab0a29e9a7c95