Minor grammar/code example fixes for documentation