Minor changes.
Added some docs.