Fixed wait blocks in documentation