Added more comments to documentation