Make spec parsing asynchronous