Add missing features and fix bugs in async build