Fixed up some comments.
Added type annotations to docs for Array params