Async Support

Removed usage of deprecated APIs in async operations.