Updated to match async library changes.