Edited some code in documents