Fixes documentation to use async-define api