Expose asynchronus versions of API.

Includes convertting tabs to space.