More documentation and typos fixed.