Update docs for compiler phases