move async from flag to attribute